package com.ztgf.shopping.models.vo.shop;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * author: chenyu.wang
 * date: 2020-07-10 14:29
 * Description: 后台管理系统入驻合同列表VO
 */
@Data
public class ShopContractSettleInVO implements Serializable {

    @ApiModelProperty(value = "入驻合同表id")
    private Long id;
    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date createTime;
    @ApiModelProperty(value = "签订日期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")//gosn
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")//fastjson
    private Date signTime;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "合同地址")
    private String contractUrl;
    @ApiModelProperty(value = "合同模板名称")
    private String templetName;
    @ApiModelProperty(value = "契约锁合同id")
    private String contractLockId;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @ApiModelProperty(value = "0未签订 1已签订")
    private Integer status;
}
